
const getDefaultState = () => {
  return {
    secondaryData: {
      show: false,
      type: '',
      name: '',
      data: {},
      info: {}
    }
  }
}

const state = getDefaultState()

const mutations = {
  SET_SECONDARYDATA: (state, data) => {
    state.secondaryData = data
  }
}

export default {
  namespaced: true,
  state,
  mutations
}
